package com.hmall.mapper;

import com.hmall.model.SysDeptCustomer;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysDeptCustomerMapper extends MyMapper<SysDeptCustomer> {

    Integer selectCustomerIdByCustomerUserId(@Param("customerUserId") Integer customerUserId);

    Integer selectDealerIdByUserId(@Param("customerUserId") Integer customerUserId);

    SysDeptCustomer selectAllByCustomerUserId(@Param("customerUserId") Integer userId);
}